module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset',
    // ["es2015", { "modules": false }]  //Error: Cannot find module 'babel-preset-es2015' 旧版，新版用下面的
    ["@babel/preset-env",{ "modules": false }]
  ],
  "plugins": [  //"plugins"可去掉双引号写成 plugins
    [
      "component",
      {
        "libraryName": "element-ui",
        "styleLibraryName": "theme-chalk"
      }
    ]
  ]
}
